FullReadCRUDCacheRepo

open class FullReadCRUDCacheRepo<ObjectType, IdType>(    parentRepo: ReadCRUDRepo<ObjectType, IdType>,     kvCache: FullKVCache<IdType, ObjectType>,     idGetter: (ObjectType) -> IdType) : ReadCRUDRepo<ObjectType, IdType> , FullCacheRepo

Constructors

Link copied to clipboard
fun <ObjectType, IdType> FullReadCRUDCacheRepo(    parentRepo: ReadCRUDRepo<ObjectType, IdType>,     kvCache: FullKVCache<IdType, ObjectType>,     idGetter: (ObjectType) -> IdType)

Functions

Link copied to clipboard
open suspend override fun contains(id: IdType): Boolean
Link copied to clipboard
open suspend override fun count(): Long
Link copied to clipboard
open suspend override fun getById(id: IdType): ObjectType?
Link copied to clipboard
open suspend override fun getByPagination(pagination: Pagination): PaginationResult<ObjectType>

Inheritors

FullCRUDCacheRepo
Link copied to clipboard